package com.github.bridge.client.esign.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class FileUploadResponse {
    /**
     * {"code":200,"data":{"downloadOuterUrl":"https://nxcqsy.tsign.cn/file-system/operation/download?fileKey=$af1993dd-39e2-41f7-9e18-3fb68bf38279$3279168054&signature=TCJmNn1ar04ESzA8S9iZ86u76i4%3D%0A&expire=1724666729890",
     * "downloadUrl":"http://lp-nx.projectk8s.tsign.cn/file-system/operation/download?fileKey=$af1993dd-39e2-41f7-9e18-3fb68bf38279$3279168054&signature=ggtgT9uz8uRYxykF9jMV0GSPHf4%3D%0A&expire=1724666729862",
     * "fileKey":"$af1993dd-39e2-41f7-9e18-3fb68bf38279$3279168054",
     * "filePage":17},"message":"成功"}
     */
    @Schema(description = "外网文件下载地址")
    private String downloadOuterUrl;

    private String downloadUrl;

    @Schema(description = "文件fileKey")
    private String fileKey;

    @Schema(description = "文档页数")
    private Integer filePage;
}
